Skip to content

Conversation

drganjoo
Copy link
Contributor

Previously, calling generateCodegenComments() before other methods would fail because it returned the parent type AdditionalSettings instead of ServerAdditionalSettings. For example, this code would fail:

IntegrationTestParams(
    additionalSettings =
        ServerAdditionalSettings()
            .generateCodegenComments(true)
            .addValidationExceptionToConstrainedOperations()  // Compilation error: Cannot resolve this reference
            .build(),
),

Previously, calling generateCodegenComments() before other methods would
fail because it returned the parent type. Modified the class to maintain
the correct type throughout method chaining.
@drganjoo drganjoo force-pushed the fahadzub/fix-server-settings branch from 8eae004 to 6d65526 Compare November 21, 2024 12:29
Copy link

A new generated diff is ready to view.

  • No codegen difference in the AWS SDK
  • No codegen difference in the Client Test
  • No codegen difference in the Server Test
  • No codegen difference in the Server Test Python
  • No codegen difference in the Server Test Typescript

A new doc preview is ready to view.

@drganjoo drganjoo marked this pull request as ready for review November 21, 2024 19:29
@drganjoo drganjoo requested review from a team as code owners November 21, 2024 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant